package com.zhang.internalcommon.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-16
 */
@Data
public class OrderRequest {
	private Long orderId;
	private Long passengerId;
	private String passengerPhone;
	private String address;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime departTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime orderTime;
	private String departure;
	private String depLongitude;
	private String depLatitude;
	private String destination;
	private String destLongitude;
	private String destLatitude;
	// 坐标加密标识
	private Integer encrypt;
	// 运价类型编码
	private String fareType;
	// 运价版本
	private Integer fareVersion;

	// 请求设备唯一码
	private String deviceCode;

	/**
	 * 接单时车辆经度
	 */
	private String receiveOrderCarLongitude;

	/**
	 * 接单时车辆纬度
	 */
	private String receiveOrderCarLatitude;

	/**
	 * 司机去接乘客出发时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime toPickUpPassengerTime;

	/**
	 * 去接乘客时，司机的经度
	 */
	private String toPickUpPassengerLongitude;

	/**
	 * 去接乘客时，司机的纬度
	 */
	private String toPickUpPassengerLatitude;

	/**
	 * 去接乘客时，司机的地点
	 */
	private String toPickUpPassengerAddress;

	/**
	 * 接到乘客，乘客上车经度
	 */
	private String pickUpPassengerLongitude;

	/**
	 * 接到乘客，乘客上车纬度
	 */
	private String pickUpPassengerLatitude;

	/**
	 * 乘客下车经度
	 */
	private String passengerGetoffLongitude;

	/**
	 * 乘客下车纬度
	 */
	private String passengerGetoffLatitude;

	/**
	 * 车型
	 */
	private String vehicleType;
}
